<?php
$username = $_GET['id_member'];
include("koneksi.php");
$q = mysql_query('
SELECT * FROM member where id_member="'.$username.'"
');
$v = '{"member" : [';
while($r=mysql_fetch_array($q))
{
	$ob = array('"','<br>','</br>');
		$v .= '{"id" : "'.$r['id_member'].'", "namalengkap" : "'.str_replace($ob,' ',strip_tags($r["namalengkap"])).'"}';
}
$v .= ']}';
echo $v;
?>